home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
6_11.lha
/
6_11
/
outputarb.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
395b
|
14 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
include <arbint.h>
oid outputarb(ostream &out, char *h, ARB_type *s, int len, int ref)
out << h << "(" << len << ") 0x";
for (int ii = 0; ii < len; ii++)
out << form(" %4.4x", s[ii]);
if (ref != -100) out << "\tref=" << ref;
out << "\n";